import request from '@/api/request'

export function dormList(kv) {
    return request({
        url: '/admin/xy/dorm/list',
        method: 'get',
        kv
    })
}

export function dormSave(kv) {
    return request({
        url: '/admin/xy/dorm/save',
        method: 'post',
        kv
    })
}

export function dormUpdate(kv) {
    return request({
        url: '/admin/xy/dorm/update',
        method: 'post',
        kv
    })
}


export function dormDetail(kv) {
    return request({
        url: '/admin/xy/dorm/detail',
        method: 'get',
        kv
    })
}

export function dormDel(kv) {
    return request({
        url: '/admin/xy/dorm/del',
        method: 'get',
        kv
    })
}